import React, { useContext } from 'react';
import { NavLink } from 'react-router-dom';
import {Context}from '../../provider'
const Index = () => {
    const [state] = useContext(Context)
    return (
        <div>
          <p>home</p>
          <NavLink to='/city'>{state.city}</NavLink>
        </div>
    );
}

export default Index;
